package com.zfzs.post.model.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 代理商信息修改
 *
 * @author: ck
 * @create: 2019-11-20 13:31
 **/
@Data
public class UpdateAgentInfoDTO {
    //手机修改
    @NotBlank (message = "手机号码不能为空")
    private String phone;
    //状态
    @NotNull (message = "状态不能为空")
    private Long status;
    //是否可以提现
    @NotNull (message = "提现状态不能为空")
    private Long isWithdraw;
    //是否实名认证
    @NotNull (message = "实名状态不能为空")
    private Integer isEffective;
    //
    @NotNull (message = "id不能为空")
    private Long id;
    @NotNull (message = "可用余额不能为空")
    private BigDecimal usableMoney;
    @NotNull (message = "冻结金额不能为空")
    private BigDecimal frozenMoney;
}
